package com.tiantian.homework_2_video_player.mapper;

import com.tiantian.homework_2_video_player.pojo.Video;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VideoMapper {
    List<Video> getAllVideos();
    Video getVideoById(@Param("id") Integer id);
}